package com.yipinhouse.reception.client;

import com.yipinhouse.common.result.Result;
import com.yipinhouse.reception.client.param.IntentionMoneyWebParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "intentionMoneyWbeClient", name = "reception", path = "reception")
public interface IntentionMoneyWebClient {



    /**
     * 新增意向金记录
     * @param intentionMoneyParam
     * @return
     * @throws InterruptedException
     */
    @PostMapping("insertIntentionMoney")
    Result insertIntentionMoney(@RequestBody IntentionMoneyWebParam intentionMoneyParam) throws InterruptedException;
}
